module.exports = app => {
    const { router, controller } = app;
    router.get('/home/index',controller.home.index)
    router.get('/home/getArticleList',controller.home.getArticleList)
    router.get('/home/getArticleById/:id',controller.home.getArticleById)

    router.get('/home/getListById/:id',controller.home.getListById)
    router.get('/home/getMessage',controller.home.getMessage)
    router.post('/home/insterMess',controller.home.insterMess)
}
